@import './base.css';

#app {
  /*max-width: 1280px;*/
  /*margin: 0 auto;*/
  /*padding: 2rem;*/

  /*font-weight: normal;*/
  height: 100%;

}
html, body, #app {
  height: 100%;
  margin: 0;
  padding: 0;
}

a,
.green {
  text-decoration: none;
  color: hsla(160, 100%, 37%, 1);
  transition: 0.4s;
}

@media (hover: hover) {
  a:hover {
    background-color: hsla(160, 100%, 37%, 0.2);
  }
}

@media (min-width: 1024px) {
  body {
    /*display: flex;*/
    /*place-items: center;*/
    height: 100%;
    margin: 0;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif
  }

  /*#app {*/
  /*  display: grid;*/
  /*  grid-template-columns: 1fr 1fr;*/
  /*  padding: 0 2rem;*/
  /*}*/
}
.icon {
  width: 1em; height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}


/* 全局样式 */
.n-card.n-card--bordered {
  border-radius: 10px;
}

/* 滚动条的宽度 */
::-webkit-scrollbar {
  width: 6px;
}

/* 滚动条里面小方块 */
::-webkit-scrollbar-thumb {
  border-radius: 4px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: rgba(153, 153, 153, 0.3);
}

/* 滚动条里面轨道 */
::-webkit-scrollbar-track {
  border-radius: 0;
}

/* 内容主体区过渡动画 */
.fade-main-move,
.fade-main-enter-active,
.fade-main-leave-active {
  transition: all 0.3s ease;
}

.fade-main-enter-from,
.fade-main-leave-to {
  opacity: 0;
  transform: translateX(30px);
}

.fade-main-leave-active {
  position: absolute;
}